export default {
  height: 'auto',
  calcHeight: 30,
  tip: false,
  searchShow: true,
  searchMenuSpan: 6,
  border: true,
  index: true,
  viewBtn: true,
  selection: true,
  dialogClickModal: false,
  indexWidth: 80,
  indexLabel: '编号',
  // align: 'center',
  searchMenuSpan: 18,
  searchMenuPosition: 'right',
  rowKey: 'id',
  rowParentKey: 'parentId',
  lazy: true,
  labelWidth: 120,
  menuWidth:400,
  column: [
    {
      label: "主键",
      prop: "id",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "租户ID",
      prop: "tenantId",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "上级疾病名称",
      prop: "parentId",
      dicData: [],
      type: 'tree',
      hide: true,
      addDisabled: false,
      props: {
        label: 'title',
      },
    },
    {
      label: "祖级列表",
      prop: "ancestors",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "疾病名称",
      prop: "name",
      type: "input",
      search: true,
      overHidden: true,
      rules: [
        {
          required: true,
          message: '请输入疾病名称',
          trigger: 'blur',
        },
      ],
    },
    {
      label: '创建时间',
      prop: 'createTime',
      type: 'input',
      overHidden: true,
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
    },
    {
      label: "备注",
      prop: "remark",
      type: 'textarea',
      minRows: 3,
      maxRows: 5,
      span: 24,
      overHidden: true,
    },
    {
      label: "状态",
      prop: "status",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
    {
      label: "是否已删除",
      prop: "isDeleted",
      type: "input",
      addDisplay: false,
      editDisplay: false,
      viewDisplay: false,
      hide: true,
    },
  ]
}
